//
//  shapeshader.cpp
//  xed_vfx_engine
//
//  Created by 岳伸 富田 on 11/10/28.
//  Copyright (c) 2011年 __MyCompanyName__. All rights reserved.
//

#include "shapeshader.h"
#include "shapeshadercode.h"

namespace Graphic {
/**
 * Class: ShapeShader
 * Desc:
 */

/**
 * Name: ShapeShader
 * Desc:
 */
ShapeShader::ShapeShader()
{
  //
}

/**
 * Name: ~ShapeShader
 * Desc:
 */
ShapeShader::~ShapeShader()
{
  //
}

/**
 * Name: Init()
 * Desc:
 */
bool ShapeShader::Init()
{
  ShaderID shaderId=buildShader(ShapeShaderCode::vertexShaderCode,ShapeShaderCode::fragmentShaderCode);
  if(shaderId==-1){
	return false;
  }
  
  return true;
}

/**
 * Name: Destroy()
 * Desc:
 */
void ShapeShader::Destroy()
{
  //
}


} // namespace Graphic
